﻿namespace MES.Server.API.Dto.ProcessProceduresDTO
{
    /// <summary>
    /// 工艺流程详情DTO
    /// </summary>
    public class ProcessFlowDetailDto
    {
        public long Id { get; set; }
        /// <summary>
        /// 工艺流程编号
        /// </summary>
        public string FlowCode { get; set; }
        /// <summary>
        /// 

        /// <summary>工艺流程名称</summary>
        /// </summary>
        public string FlowName { get; set; }

        /// <summary>
        /// 所属部门名称
        /// </summary>
        public string DepartmentName { get; set; }

        /// <summary>
        /// 负责人名称
        /// </summary>
        public string PersonName { get; set; }

        /// <summary>
        /// 状态（启用/禁用）
        /// </summary>
        public string IsActive { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 工序列表
        /// </summary>
        public List<ProcessDto> Processes { get; set; }
    }
    /// <summary>工序DTO</summary>
    public class ProcessDto
    {
        /// <summary>工序编码</summary>
        public string ProcessCode { get; set; }

        /// <summary>工序名称</summary>
        public string ProcessName { get; set; }

        /// <summary>负责人名称</summary>
        public string PersonName { get; set; }

        /// <summary>所属部门名称</summary>
        public string DepartmentName { get; set; }

        /// <summary>备注</summary>
        public string Remarks { get; set; }
    }
}
